<?php
/**

 * User:ayou chow
 * Date: 2019-11-30
 * Time: 23:05
 * Info: 主播提现申请模型
 */

namespace app\common\model;


use think\Model;

class AnchorWithdrawalsModel extends Model
{
    public function anchor(){
        return $this->hasOne('UserModel','id','uid')->field(['id','nick_name']);
    }

    public function audit(){
        return $this->hasOne('UserModel','id','audit_uid')->field(['id as audit_id','nick_name as audit_nick_name']);
    }
}